<?php foreach ($goods as $good): ?>
   
    <ul class="elem_on_section" style="margin: 5px;">
    <?php if(strlen($good["img"]) > 0):?>
        <li class="inline">
                <?php echo image_tag("Shop/".$good["img"], array("width" => 140,"height" => 140, "alt" => "pict")) ?>
         </li>
      <?php endif;?>
      
         <li class="inline"  style="vertical-align:top;width:70%;">
              
               	<span style="font-size:16px;font-weight:bold;"><?php echo $good["nom"] ?></span><br />
                <span style="font-size:11px;"><?php echo $good["description"] ?></span></br>
                <div align="right" style="margin-top:10px">
                    <span style="font-size:15px;"><?php echo image_tag("Icons/headers/point.png", array("width" => 15,"height" => 15, "alt" => "pict")) ?> <?php echo $good["prix"] ?> points</span>
                    <div style="text-align:right;margin:10px;">
                    <a class="menu_action" href="<?php echo url_for("point/buy?good=".$good["id"]) ?>"><?php echo image_tag("Icons/menu_action/addfavo.png", array("width" => 13,"height" => 13, "alt" => "icon")) ?> Acheter</a>
                    </div>
                </div>
         </li>
    </ul>
<?php endforeach;?>
